package loengud.w09;

import javax.swing.JFrame;

public class CanvasFrame extends JFrame {

	public CanvasFrame() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setSize(500, 500);
		ColoredHelloWorldCanvas canvas = new ColoredHelloWorldCanvas();
		getContentPane().add(canvas);
		
	}
	public static void main(String[] args) {
		CanvasFrame f = new CanvasFrame();
		f.setVisible(true);
	}
}
